package com.base.pig.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.base.pig.dto.ScDeviceAlarmListDto;
import com.base.pig.dto.ScDeviceDetailDto;
import com.base.pig.dto.ScDeviceListDto;
import com.base.pig.entity.ScDevice;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;


public interface ScAssetManageService extends IService<ScDevice> {
   IPage getPageAirtemphumiList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageDignoiseList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageFlowList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageGasList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageHarmfulgasiList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageLiquidlevelList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageLocationList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageManholecoverList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageRainfallList(Page page, ScDeviceListDto scDeviceListDto);

   IPage getPageWaterqualityList(Page page, ScDeviceListDto scDeviceListDto);

   Boolean add(ScDevice scDevice);

   Boolean edit(ScDevice scDevice);

   Boolean delete(ScDevice scDevice);

   Boolean export(HttpServletResponse response, Page page, String deviceType) throws Exception;

   void download(HttpServletResponse response);

   Map deviceDetail(ScDeviceDetailDto scDeviceDetailDto);

    List<ScDeviceAlarmListDto> deviceAlarmList();
}
